PGetLastError

Returns the code for the error encountered by PageMaker when trying to execute the last plug-in command or query.

Normally, you won't need this function, because the exception handling mechanism in PCL provides this when an exception is thrown.


Query results

This query returns a short, representing the error code of the last command or query
Getting the last error code and string. If you follow PGetLastError with PGetLastErrorStr (or vice versa), only the first query returns a valid error code or message (unless the first query fails). The second query gets the error code or message from the first query. A successful query (or command) automatically resets the parameter block.



Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support